home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
winsock
/
ircii2-6.zip
/
SRC\IRCII-2.6\SCRIPT\TIME
< prev
next >
Wrap
Text File
|
1994-12-28
|
670b
|
16 lines
# This will put the current time, date, etc according to your server
# in the approriate variables
alias servertime ^on ^391 * assign day $$2\;assign month $$3\;assign date $$4\;assign time $$7;^time;wait -cmd ^on ^391 -* $()
# This will get the time from the uptime program and put it in the
# variable uptime
on ^exec uptime assign uptime $1
on ^exec_exit uptime
alias uptime exec -name uptime uptime;wait %uptime $()
# This will get the time, date, etc from the date program and
# put them in the appropriate variables.
on ^exec date assign day $1;assign month $2;assign date $3;assign time $4
on ^exec_exit date
alias datetime exec -name date date;wait %date $()